{% include 'head.html' %}








<body>


<div id="over" class="overLoading"></div>
<div id="layout" class="layoutLoading"></div>


  <!-- 最为层容器 -->
  <div class="jd_container">
    <!-- 顶部 -->
    <div class="jd_header" style="height: 50px;background: #dce2ec;width: 100%">

      <!--<span style="float: left;margin-left: -18%;margin-top: 15px;">货比三家</span>-->
      <a href="/" >
        <div style="width: 10%;margin-left: -20%;">
        <span style="float: left;margin-top: 12px;font-size: 23px;color: #000;">
          <i class="fa fa-chevron-left">
          </i>
        </span>
        </div>
      </a>
      
      <div style="text-align:center;margin-top: 5%;float: left;width: 90%;">
        <span style="font-size: 19px;">货比三家热搜榜</span>
      </div>

      <a href="/fabuxz" >
        <div style="margin-right: -15%;float: right;margin-top: 12px;">
        <span style="font-size: 23px;color: #000;top:0;">
          <i class="fa fa-edit">
          </i>
        </span>
      </div>
      </a>
    </div>

     <!-- 轮播图 -->
    <div class="hbsj_banner">
      <ul class="clearfix banner_images" style="margin-top: 40px;">
        

        <li>
          <a href="">
            <img class="hbsj_banner_img" src="http://hbsj.xyz/h5/hbsj_gg4_1000.png" alt="" >
          </a>
        </li>

        <li>
          <a href="">
            <img src="http://hbsj.xyz/h5/hbsj_gg3_1000.png" alt="" height="168" width="100%" class="hbsj_banner_img">
          </a>
        </li>

       

      </ul>
      <ul class="banner_index clearfix">
        
      </ul>
    </div>

    

    
    
      
    



<div id="top1" style="width: 110%;height: 35px;margin-bottom: 5%;">
  <div style="width: 25%;height: 35px;border:1px solid #F5F5F5;border-bottom: 2px solid #F00;float: left;text-align: center;background-color: #f8f8ff;"><h6>商品搜索排行</h6></div>
  <div style="width: 25%;height: 35px;border:1px solid #F5F5F5;float: left;text-align: center;background-color: #fff;"><h5>批发</h5></div>
  <div style="width: 25%;height: 35px;border:1px solid #F5F5F5;float: left;text-align: center;background-color: #fff;"><h5>二手</h5></div>
  <div style="width: 25%;height: 35px;border:1px solid #F5F5F5;float: left;text-align: center;background-color: #fff;"><h5>社区</h5></div>
</div>



<script type="text/javascript">
      function go_query(){
        var inputdatas = $("#inputdata").val();
        //alert(inputdatas);
        if(inputdatas!=""){
          window.location.href="/queryData?keys="+inputdatas;
        }
      }
    </script>



<script type="text/javascript" src="static/js/ydui.citys.js"></script>
<script type="text/javascript" src="static/js/ydui.js"></script>
<script type="text/javascript">
/**
 * 默认调用
 */
!function () {
  var $target = $('#J_Address');

  $target.citySelect();

  $target.on('click', function (event) {
    event.stopPropagation();
    $target.citySelect('open');
  });

  $target.on('done.ydui.cityselect', function (ret) {
    $(this).val(ret.provance + ' ' + ret.city + ' ' + ret.area);
  });
}();

</script>






<div style="width: 100%;height: 50px;"></div>

<div style="margin:2%;margin-bottom: 20px;">


{% for data in returnlist %}
  

<a href="/queryData?keys={{ data[1] }}">
  <div style="margin-left: 10%;margin-bottom: 8px;width: 100%;margin-top: 8px;">
      <span style="font-size: 16px;color: red;">{{ data[0] }} : <b>{{ data[1] }}</b> </span> <span style="font-size: 12px;color: #000;">[累计查询：{{ data[2] }}]</span> 
  </div>
</a>
<div style="width: 100%;height: 5px;background-color: #dce2ec;"></div>
{% endfor %}





<script type="text/javascript">
  var top=$("#top1").offset().top;
  $(window).scroll(function () {
   if ($(window).scrollTop() >= 140) {
      $("#top1").attr("style", "overflow: hidden;position:fixed;top:50px;left:0;z-index:90;width:100%;");
    } else {
       $("#top1").attr("style", "overflow: hidden; height: 35px;width:100%;");
    }

    //下拉刷新
    console.log(getScrollTop());
    console.log(getClientHeight());
    console.log(getScrollHeight());
      if(getScrollTop() + getClientHeight() >= getScrollHeight()) {
          console.log('下拉刷新了');
          //此处发起AJAX请求
          //alert("下拉刷新了");
      }


  }).trigger("scroll");
</script>


  

    <!-- 京东内容区域 -->
    <div class="jd_mian" id="container">
      <div class="main_content" style="background-color: #edf4ff;margin-bottom: 200px;">
        
        
       


        
        

          
        </div>
        



        



      </div>
    </div>


    

  </div>








{% include 'foot_sp.html' %}